package member2;

import java.util.Date;

public class Data {
	String irum;
	String address;
	String phone;
	String email;
	int    age;
	Date   nal;  // 입사일자
	
	// 생성자를 통해 데이터를 전달 받아 필드에 저장
	public Data(String n, String a, String p, String e, int age, Date d){
		this.irum = n;
		this.address = a;
		this.phone = p;
		this.email = e;
		this.age = age;
		this.nal = d;
		
	}

	public String getIrum() {
		return irum;
	}

	public void setIrum(String irum) {
		this.irum = irum;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Date getNal() {
		return nal;
	}

	public void setNal(Date nal) {
		this.nal = nal;
	}
	
}
